<?php $this->load->view('layout/header'); ?>
<?php if($doc_id == 'members'){ ?>
    <form name="form1" method="post" action="/static/bk/ueditor/php/controller.php?action=uploadfile&out=1&doc_id=<?php echo $doc_id?>" id="form1" enctype="multipart/form-data">
<?php }elseif($doc_id == 'videos'){ ?>
    <form name="form1" method="post" action="/static/bk/ueditor/php/controller.php?action=uploadvideo&out=1&doc_id=<?php echo $doc_id?>" id="form1" enctype="multipart/form-data">
<?php }else{ ?>
    <form name="form1" method="post" action="/static/bk/ueditor/php/controller.php?action=uploadimage&out=1&doc_id=<?php echo $doc_id?>" id="form1" enctype="multipart/form-data">
<?php } ?>
    <div id="container">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_form">
            <tr class="table_form_row" style="display: none;">
                <td align="right" style="width: 20%">
                    命名方式：
                </td>
                <td>
                    <span id="radNameType"><input id="radNameType_0" type="radio" name="radNameType" value="0" checked="checked" /><label for="radNameType_0">原文件名</label><input id="radNameType_1" type="radio" name="radNameType" value="1" /><label for="radNameType_1">自动命名</label></span>
                    <input type="hidden" name="hidFolderPath" id="hidFolderPath" value="/Files/Ad/" />
                </td>
            </tr>
            <tr class="table_form_row">
                <td style="width: 20%" align="right">
                    上传文件：
                </td>
                <td class="file">
                    <input type="file" name="upfile" id="InputFile1" onchange="javascript:FilePreview(550, 350);FileExitsCheck();" /><span style="font-size:smaller;">&nbsp;(Powered&nbsp;by&nbsp;<a target="_blank" href="http://www.brettle.com/neatupload">NeatUpload</a>)</span>
                </td>
            </tr>
            <tr class="table_form_btn">
                <td align="right" style="width: 20%"></td>
                <td>
                    <input type="submit" name="btnSave" value="上传" onclick="javascript:return FileFormCheck();" id="btnSave" />
                    <input type="button" value="取消" onclick="window.parent.layer.closeAll()" />
                    <span id="errMsg" style="color:Red;"></span>
                </td>
            </tr>
        </table>

    </div>


</form>

<?php $this->load->view('layout/footer'); ?>